<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>
<%@ page import="com.ba360.portal.util.Helper" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script>
	function setCity(cityid)
	{	
		document.search.City.value=cityid;
	}
	function setSearchContent()
	{
		var key = document.getElementById('searchkey').value;
		document.search.adContent.value=key;		
	}



</script>
<script type="text/javascript" src="../js/ss.js"></script>
<script type="text/javascript" src="../js/typeface-0.11.js"></script>
<script type="text/javascript" src="../js/calibri_regular.typeface.js"></script>
</head>
<body onload="setCity('0');" style="margin:0">
<%
	Helper help = new Helper();	
	int count;
%>
	<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
		<tr>
			<td>
				<table width="100%"  border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>
							<jsp:include page="top.jsp"/>							
						</td>
					</tr>
				
					<tr>
						<td>
							<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
								<tr>

								<td background="../Pune360/images/blu.jpg" colspan=4>
								<!--	<script type="text/javascript">
google_ad_client = "pub-4174776570580299";
/* 180x150, created 3/9/09 for droik homepage */
google_ad_slot = "7742003494";
google_ad_width = 180;
google_ad_height = 150;

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>//-->

<script type="text/javascript"> 
new fadeshow(fadeimages, 749, 178, 0, 5000, 1, "R")
</script> 

										</td>				
										

									<td width="24%" valign="top">
									 <table id="Table_01" width="244" height="175" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td> <img src="../Pune360/images/zz1a_09_01.jpg" width="244" height="29" alt=""></td>
                </tr>
                <tr>
                  <td> <img src="../Pune360/images/zz1a_09_02.jpg" width="244" height="35" alt=""></td>
                </tr>
                <tr>
                  <td> <img src="../Pune360/images/zz1a_09_03.jpg" width="244" height="32" alt=""></td>
                </tr>
                <tr>
                  <td> <img src="../Pune360/images/zz1a_09_04.jpg" width="244" height="30" alt=""></td>
                </tr>
                <tr>
                  <td> <img src="../Pune360/images/zz1a_09_05.jpg" width="244" height="49" alt=""></td>
                </tr>
            </table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor="#FCFCFC">
							<table width="100%" height="49" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" id="Table_01">
								<tr bgcolor="#FCFCFC">
									<td width="25%"> <a href="../portal/SearchAdv.do?action=SearchAd&PostingType=99&adContent=&type=Classifieds&Submit=GO"><img src="../Pune360/images/zz1a_10_01.jpg" alt="" width="157" height="49" border="0"></a></td>
									
									<td width="10%" align="center"><a href="TermsConditions.jsp" class="uline" style="font-weight:bold">Post An Ad</a></td>
									<td width="30%" align="center"><a href="SearchClassifieds.jsp" class="uline" style="font-weight:bold">Advanced Search</a></td>
									<td width="7%"> <div align="right"><img src="../Pune360/images/zz1a_10_05.jpg" width="70" height="49" alt=""></div></td>
									<td width="25%" height="49" background="../Pune360/images/zz1a_10_06.jpg">
										<table width="100%"  border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td width="29%">
													<form name="search" action="../portal/SearchAdv.do?action=SearchAd">
														<input type="hidden" name="action" value="SearchAd"/>
														<input type="hidden" name="PostingType" value="99"/>
														<input type="hidden" name="CatType" value="0"/>														
														<input type="hidden" name="City" value=""/>
														<input type="hidden" name="adContent" value=""/>
														<select name="city" id="cities" class="form text" onchange="setCity(this.value)">
															 <%															   					
															   java.sql.Connection conn = null;
															   java.sql.Statement  stat = null;
															   Class.forName( "com.mysql.jdbc.Driver");
															   conn = java.sql.DriverManager.getConnection("jdbc:mysql://localhost:3306/ba3602_classifiedsdb","root","root" );
															   //conn = java.sql.DriverManager.getConnection("jdbc:mysql://localhost:3306/ba3602_droikclassifieds","root","" );
															   stat = conn.createStatement();																					
															   java.sql.ResultSet rs = stat.executeQuery("select city_id,cityname from lookup_city"); 														         						   
								         						   while (rs.next())
								         						   {         		
									         						   int cityid = rs.getInt(1);
																   String cityname = rs.getString(2);
																   			      						   
							         						%>
								         							   <option value="<%=cityid%>"><%=cityname%></option>
								         					<%
								         						   }	         						    
								         					%>		
														</select>														
												</td>                  
												<td width="59%"><input name="searchkey" id="searchkey" type="text" class="form" size="27" value=""></td>
												<td width="12%"><input name="Action" type="submit" class="button" onclick="setSearchContent()" value="Go"></td>
													</form>
											</tr>											
										</table>
									</td>
									<td width="4%"> <img src="../Pune360/images/zz1a_10_07.jpg" width="13" height="49" alt=""></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td background="../Pune360/images/tbg.jpg">
							<br>
							<table width="100%"  border="0" cellspacing="0" cellpadding="0">														
								<tr>
									<td background="../Pune360/images/tbg.jpg">
										<table width="100%" border="0" cellpadding="0" cellspacing="0" id="Table_01">
											<tr valign="top">
												<td width="0" valign="top">
													<table width="188" height="187" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
														<tr>
															<td height="24" background="../Pune360/images/box_01.gif">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<%count = help.getHeadCount("Housing");%>
																		<td><a class="whitetext" href="../portal/SearchAdv.do?action=SearchAd&PostingType=1">Housing (<%=count%>)</a></td>
																	</tr>                          
																</table>
															</td>
														</tr>
														<tr>
															<td height="153" valign="top" background="../Pune360/images/bluc.jpg">
																<table width="100%"  border="0" cellspacing="0" cellpadding="0">
																	<tr>
																		<td background="../Pune360/images/boxbg.jpg" class="box">
																			<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																				<tr>
																					<td>
																						<img src="../Pune360/images/spacer.gif" width="1" height="5">
																					</td>
																				</tr>
																				<tr>
																					<td class="indextablefont">
																						<display:table name="<%="applicationScope.APCATLIST.item[" + (0)+ "].subCatList"%>" id="child"> 
																							<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																							</display:column> 
																						</display:table>
																					</td>
																				</tr>
																			</table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
														<tr>
															<td> 
																<img src="../Pune360/images/box_03.gif" width="188" height="10" alt="">
															</td>
														</tr>
													</table>
												</td>
												<td width="0" valign="top">
													<table width="188"  border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
														<tr>
															<td height="24" background="../Pune360/images/box_01.gif">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<% count = help.getHeadCount("Buy & Sell"); %>
																		<td>
																			<a class="whitetext" href="../portal/SearchAdv.do?action=SearchAd&PostingType=2">Buy &amp; Sell (<%=count%>)</a>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
														<tr>
															<td height="153" valign="top" background="../Pune360/images/bluc.jpg">
																<table width="100%"  border="0" cellspacing="0" cellpadding="0">
																	<tr>
																		<td background="../Pune360/images/boxbg.jpg" class="box">
																			<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																				<tr>
																					<td><img src="../Pune360/images/spacer.gif" width="1" height="5"></td>
																				</tr>
																				<tr>
																					<td class="indextablefont">
																						<display:table  name="<%="applicationScope.APCATLIST.item[" + (1)+ "].subCatList"%>" id="child"> 
																							<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																							</display:column> 
																						</display:table>
																					</td>
																				</tr>
																			</table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
														<tr>
															<td>
																<img src="../Pune360/images/box_03.gif" width="188" height="10" alt="">
															</td>
														</tr>
													</table>
												</td>
												<td width="0" rowspan="2" valign="top">
													<table width="188" height="300" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
														<tr>
															<td height="24" background="../Pune360/images/box_01.gif"><table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Services Offered"); %>
															<td><a class="whitetext" href="../portal/SearchAdv.do?action=SearchAd&PostingType=6">Services Offered (<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td height="265" valign="top" background="../Pune360/images/bluc.jpg">
													<table width="100%"  border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td height="231" valign="top" class="box" > 
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../Pune360/images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table  name="<%="applicationScope.APCATLIST.item[" + (5)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column> 
																			</display:table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> <img src="../Pune360/images/box_03.gif" width="188" height="10" alt=""></td>
											</tr>
										</table>
									</td>
									<td width="0" valign="top">
										<table width="188" height="187" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../Pune360/images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Community"); %>
															<td><a class="whitetext" href="../portal/SearchAdv.do?action=SearchAd&PostingType=7">Community(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td height="153" valign="top" background="../Pune360/images/bluc.jpg" bgcolor="#FFFFFF">
													<table width="100%"  border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td background="../Pune360/images/boxbg.jpg" class="box">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../Pune360/images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table  name="<%="applicationScope.APCATLIST.item[" + (6)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column> 
																			</display:table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> <img src="../Pune360/images/box_03.gif" width="188" height="10" alt=""></td>
											</tr>
										</table>
									</td>
									<td width="0" rowspan="3" valign="top">
										<table width="188" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../Pune360/images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Job Openings"); %>
															<td><a class="whitetext" href="../portal/SearchAdv.do?action=SearchAd&PostingType=4">Jobs(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td valign="top"  background="../Pune360/images/bluc.jpg">
													<table width="100%" height="447"  border="0" cellpadding="0" cellspacing="0">
														<tr>
															<td height="430" valign="top" class="box">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../Pune360/images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table name="<%="applicationScope.APCATLIST.item[" + (3)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column>
																			</display:table>                                 
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> 
													<img src="../Pune360/images/box_03.gif" width="188" height="10" alt="">
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr valign="top">
									<td width="0" valign="top">
										<table width="188" height="104" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../Pune360/images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Miscellaneous"); %>
															<td><a class="whitetext" href="../portal/SearchAdv.do?action=SearchAd&PostingType=101">Miscellaneous(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td valign="top"  background="../Pune360/images/bluc.jpg">
													<table width="100%"  border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td height="68" valign="top" class="smallbox">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../Pune360/images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table name="<%="applicationScope.APCATLIST.item[" + (7)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title=" " href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column>
																			</display:table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> 
													<img src="../Pune360/images/box_03.gif" width="188" height="10" alt="">
												</td>
											</tr>
										</table>
									</td>
									<td width="0" valign="top">
										<table width="188" height="104" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../Pune360/images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Education"); %>
															<td><a class="whitetext" href="../portal/SearchAdv.do?action=SearchAd&PostingType=5">Education(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												 <td valign="top" background="../Pune360/images/bluc.jpg">
													<table width="100%"  border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td height="68" valign="top" class="smallbox">
																<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
																		<td><img src="../Pune360/images/spacer.gif" width="1" height="5"></td>
																	</tr>
																	<tr>
																		<td class="indextablefont">
																			<display:table  name="<%="applicationScope.APCATLIST.item[" + (4)+ "].subCatList"%>" id="child"> 
																				<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																				</display:column>
																			</display:table>
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td> 
													<img src="../Pune360/images/box_03.gif" width="188" height="10" alt="">
												</td>
											</tr>
										</table>
									</td>
									<td width="0" valign="top">
										<table width="188" height="104" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
											<tr>
												<td height="24" background="../Pune360/images/box_01.gif">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<% count = help.getHeadCount("Autos"); %>
															<td><a class="whitetext" href="../portal/SearchAdv.do?action=SearchAd&PostingType=109">Autos(<%=count%>)</a></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td valign="top"  background="../Pune360/images/bluc.jpg"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td height="68" valign="top" class="smallbox">
													<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
														<tr>
															<td><img src="../Pune360/images/spacer.gif" width="1" height="5"></td>
														</tr>
														<tr>
															<td class="indextablefont">
																<display:table name="<%="applicationScope.APCATLIST.item[" + (9)+ "].subCatList"%>" id="child"> 
																	<display:column property="subCatName" title="" href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
																	</display:column>
																</display:table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td> <img src="../Pune360/images/box_03.gif" width="188" height="10" alt=""></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr valign="top">
						<td width="0" valign="top" bgcolor="#FFFFFF">
							<table width="188" height="168" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
								<tr>
									<td height="24" background="../Pune360/images/box_01.gif">
										<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
											<tr>
												<% count = help.getHeadCount("Personals"); %>
												<td><a href="../portal/SearchAdv.do?action=SearchAd&PostingType=3" class="whitetext">Personals(<%=count%>)</a></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td height="134" valign="top" background="../Pune360/images/bluc.jpg">
										<table width="91%"  border="0" align="center" cellpadding="0" cellspacing="0">
											<tr>
												<td><img src="../Pune360/images/spacer.gif" width="1" height="5"></td>
											</tr>
											<tr>
												<td class="indextablefont">
													<display:table  name="<%="applicationScope.APCATLIST.item[" + (2)+ "].subCatList"%>" id="child"> 
														<display:column valign="top" class="highlight" property="subCatName" title=" " href="../portal/SearchAdv.do?action=SearchAd" paramId="CatType" paramProperty="subCatId">
														</display:column> 
													</display:table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td> <img src="../Pune360/images/box_03.gif" width="188" height="10" alt=""></td>
								</tr>
							</table>
						</td>
						<td colspan="3" valign="top" bgcolor="#FFFFFF"> </td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	</td>
</tr>
<tr>
<td>
	<jsp:include page="footer.html"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<map name="MapMapMap">
<area shape="rect" coords="596,5,656,27" href="../contact.php">
<area shape="rect" coords="511,6,560,26" href="../aboutus.php">
<area shape="rect" coords="423,4,478,25" href="blog.htm">
<area shape="rect" coords="312,3,395,25" href="classifieds.htm">
</map>
<map name="MapMap">
<area shape="rect" coords="596,5,656,27" href="../contact.php">
<area shape="rect" coords="511,6,560,26" href="../aboutus.php">
<area shape="rect" coords="423,4,478,25" href="blog.htm">
<area shape="rect" coords="312,3,395,25" href="classifieds.htm">
</map>


</body>
</html>
